UCF STIG Viewer Logo

The macOS system must configure audit failure notification.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259469 APPL-14-001031 SV-259469r941029_rule Medium
Description
The audit service must be configured to immediately print messages to the console or email administrator users when an auditing failure occurs. It is critical for the appropriate personnel to be made aware immediately if a system is at risk of failing to process audit logs as required. Without a real-time alert, security personnel may be unaware of a potentially harmful failure in the auditing system's capability, and system operation may be adversely affected. Satisfies: SRG-OS-000047-GPOS-00023,SRG-OS-000344-GPOS-00135
STIG Date
Apple macOS 14 (Sonoma) Security Technical Implementation Guide 2024-01-10

Details

Check Text ( C-63208r941027_chk )
Verify the macOS system is configured to produce audit failure notification with the following command:

/usr/bin/grep -c "logger -s -p" /etc/security/audit_warn

If the result is not "1", this is a finding.
Fix Text (F-63116r941028_fix)
Configure the macOS system to produce audit failure notification with the following command:

/usr/bin/sed -i.bak 's/logger -p/logger -s -p/' /etc/security/audit_warn; /usr/sbin/audit -s